//
//  RefuseResidencePermitDataSource.m
//  Jyxt
//
//  Created by 王炜光 on 2017/8/18.
//  Copyright © 2017年 DaLian Rental Housing Management. All rights reserved.
//

#import "RefuseResidencePermitDataSource.h"
#import "ResidencePermitWaitTableViewCell.h"
@implementation RefuseResidencePermitDataSource
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return self->_dataArr.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    static NSString *reuse = @"reuse";
    ResidencePermitWaitTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuse];
    if (!cell) {
        cell = [[ResidencePermitWaitTableViewCell alloc]initWithStyle:UITableViewCellStyleValue2 reuseIdentifier:reuse];
    }
    if (self->_dataArr.count > indexPath.row) {
        
        cell.valueDic = self->_dataArr[indexPath.row];
    }
    cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
    return cell;
}
@end
